package ClassTest;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by 春旺 on 2017/9/24.
 */
public class NumberSortTest {
    int[] a = {3,2,1};int[] a1 ={1,2,3};
    int [] b = {123,45689,1414,1};
    @Test
    public void sort() throws Exception {
        NumberSort sort = new NumberSort();
        assertEquals(a1,sort.sort(a));
        assertEquals(null,sort.sort(b));

    }

}